<!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
<stack>
<name>in.1</name>
<id>-1</id>
<cardCount>3</cardCount>
<cardID>3716</cardID>
<listID>2269</listID>
<cantModify><false /></cantModify>
<cantDelete><false /></cantDelete>
<cantAbort><false /></cantAbort>
<cardSize>
<width>512</width>
<height>342</height>
</cardSize>
<script>‚àû‚àû‚àû‚àû Script info for "List Randomizer 2.1", STACK ‚àû‚àû‚àû‚àûHANDLERS:-- closeStack, openStack, readFile, saveFileGLOBALS:-- fName, status, uLSTATS: 1671 chars, 76 lines, 3/14/92, 2:22 PM‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû‚àû---- Script of stack "List Randomizer"---- Written by Jack W. Richens, Jr.-- Richens Consulting-- P.O. Box 1853-- Columbia, MO 65205-- (314) 445-8042---- Copyright 1991, Richens Consulting, Columbia, Missouri---- THIS STACK IS FOR FREE DISTRIBUTION! IT CANNOT BE USED-- COMMERCIALLY OR DISTRUIBUTED FOR PROFIT!------ This script contains startup and subroutine scripts.--on openStackglobal uL,fName,statusput the userlevel into uLIf the shiftkey is not down thenhide menubarset the userlevel to 2end if--put empty into cd fld "TheList"put empty into fNameput "N" into statusend openStackon closeStackglobal uL,fName,statusif status is "N" and cd fld "TheList" is not empty then---- need to save list before exiting--answer "Save changes before leaving?" with "Yes" or "No"if it is "Yes" then do saveFileend ifset the userLevel to uLend closeStackon readFileglobal uL,fName,status--answer file "List location..." of type TEXT -- REV 910916if it is empty then exit readFileput it into fName--open file fNameput 1 into lNumberread from file fName until returnrepeat until it is emptyput it after cd fld "TheList"read from file fName until returnend repeatclose file fNameend readFileon saveFileglobal uL,fName,status--if fName is empty thenask file "Save list as..." with "TheList.txt"if it is empty then exit saveFileput it into fNameend if--open file fNamewrite cd fld "TheList" to file fNameclose file fNameend saveFile</script>